//
//  UIImage+MYCompress.h
//  JQLive
//
//  Created by Bruce on 2020/3/3.
//  Copyright © 2020 mlqk. All rights reserved.
//



#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (MYCompress)

/// 压缩图片大小
/// @param maxLength 最大图片的大小（单位：B）
-(NSData *)compressWithMaxLength:(NSUInteger)maxLength;
@end

NS_ASSUME_NONNULL_END
